<template>
  <div id="app">
    <router-view/>
    <router-view name="FooterView"></router-view>
  </div>
</template>

<script>
 
export default {
  components: {  },
  
}
</script>
<style>
* {
  padding: 0px;
  margin: 0px;
  list-style: none;
  box-sizing: border-box;
}
html,body,#app {
  height: 100%;
}
html {
  font-size: 26.67vw;
}
body {
  font-size: 16px;
}
#app {
  display: flex;
  flex-direction: column;
}
#app>.box {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
#app .box .header {
  height: .3rem;
  background-color: aqua;
}
#app .box .main {
  flex: 1;
  overflow-y: auto;
  background-color: yellow
}
#app .footer {
  background-color: pink;
  height: .5rem;
}
#app .footer ul {
  display: flex;
  height: 100%;
  justify-content: space-around;
  align-items: center;
}
#app .footer ul li.router-link-active {
  color: red;
}
#app .footer ul li {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#app .footer ul li span {
  font-size: .25rem;
}
</style>
